package org.jeecg.modules.company.facade.impl;



import org.springframework.stereotype.Service;


import org.jeecg.base.facade.impl.IFacadeImpl;
import org.jeecg.modules.company.entity.TaxReceiptOrder;
import org.jeecg.modules.company.facade.ITaxReceiptOrderFacade;
import org.jeecg.modules.company.service.ITaxReceiptOrderService;
import org.jeecg.modules.company.vo.TaxReceiptOrderVo;
import org.springframework.beans.BeanUtils;

import org.springframework.beans.factory.annotation.Autowired;


/**
 * @Description: 税票申请
 * @Author: zj
 * @Date:   2020-05-26
 * @Version: V1.0
 */


@Service
public class TaxReceiptOrderFacadeImpl extends IFacadeImpl<TaxReceiptOrderVo, TaxReceiptOrder, ITaxReceiptOrderService>  implements ITaxReceiptOrderFacade<TaxReceiptOrderVo, TaxReceiptOrder> {
        @Autowired
        private ITaxReceiptOrderService taxReceiptOrderService;


         @Override
         public TaxReceiptOrder po2Vo(TaxReceiptOrderVo vo) {
                TaxReceiptOrder po = new TaxReceiptOrder();
                if(vo==null){
                   return null;
                }
                BeanUtils.copyProperties(vo, po);
                return po;
         }

         @Override
         public TaxReceiptOrderVo vo2Po(TaxReceiptOrder po) {
                TaxReceiptOrderVo vo = new TaxReceiptOrderVo();
                 if(po==null){
                     return null;
                  }
                BeanUtils.copyProperties(po, vo);
                return vo;
         }

}
